
<article class="dialogue">
<?php foreach ( $expansions as $key => $expansion ) :?>
<div class="row">
		<ul>
			<li><span><?=$expansion['source'] ?></span>
				<div class="popup">
					<table>
					<tr>
					<td><<?=$expansion['source'] ?></td>
					</tr>
					<tr>
						<td><?=$expansion['target'] ?></td>
					</tr>
					<tr>
						<td><?=$expansion['target_phonetics'] ?></td>
					</tr>
					</table>
				</div>
			
			</li>
			<li><span>好久不见</span>
				<div class="popup">
					<table>
						<tr>
							<td>好久不见</td>
						</tr>
						<tr>
							<td>好久不見</td>
						</tr>
						<tr>
							<td>hao jiu bu jian</td>
						</tr>
						<tr>
							<td>Long time no see</td>
						</tr>
					</table>
				</div>
			</li>
		</ul>

		<a href="javascript:void(0)" class="play">Play</a>
</div>
<?php endforeach; ?>

	<div class="row">
		<ul>
			<li>A：</li>
			<li>嗨，</li>
			<li><span>好久不见</span>
				<div class="popup">
					<table>/
						<tr>
							<td>好久不见</td>
						</tr>
						<tr>
							<td>好久不見</td>
						</tr>
						<tr>
							<td>hao jiu bu jian</td>
						</tr>
						<tr>
							<td>Long time no see</td>
						</tr>

					</table>
				</div>
			</li>
		</ul>

		<a href="#" class="play">Play</a>
	</div>
	<div class="row">
		<ul>
			<li>B：</li>
			<li><span>好久不见！</span>
				<div class="popup">
					<table>
						<tr>
							<td>好久不见</td>
						</tr>
						<tr>
							<td>好久不見</td>
						</tr>
						<tr>
							<td>hao jiu bu jian</td>
						</tr>
						<tr>
							<td>Long time no see</td>
						</tr>

					</table>
				</div>

			</li>
			<li><span>你好吗？</span>
				<div class="popup">
					<table>
						<tr>
							<td>你好吗</td>
						</tr>
						<tr>
							<td>你好嗎</td>
						</tr>
						<tr>
							<td>ni hao ma</td>
						</tr>
						<tr>
							<td>how are you</td>
						</tr>

					</table>
				</div>

			</li>
		</ul>

		<a href="#" class="play">Play</a>
	</div>
	<div class="row">
		<ul>
			<li>A：</li>
			<li>我很忙。</li>
			<li>你呢？</li>
		</ul>

		<a href="#" class="play">Play</a>
	</div>
	<div class="row">
		<ul>
			<li>B：</li>
			<li>我也很忙。</li>
		</ul>

		<a href="#" class="play">Play</a>
	</div>

</article>
